<?php namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class News extends Model {

	//
	protected $table = 'news';
	protected $fillable = ['title','description','content','image_name','type','uid', 'create_time'];

	public function development()
	{
		return $this->hasOne("App\Models\DevelopmentUser", "id", "type");
	}

}
